// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** billRecord GET /api/dateStatistics/billrecord */
export async function billRecordUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseListBillRecordVO>('/api/dateStatistics/billrecord', {
    method: 'GET',
    headers: {
      'JWT': localStorage.getItem('loginUser') || 'manba',
    },
    ...(options || {}),
  });
}

/** invokerecordTotal GET /api/dateStatistics/billrecord/total */
export async function invokerecordTotalUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponselong>('/api/dateStatistics/billrecord/total', {
    method: 'GET',
    headers: {
      'JWT': localStorage.getItem('loginUser') || 'manba',
    },
    ...(options || {}),
  });
}

/** dateStatisticsByWeek GET /api/dateStatistics/dateStatistics */
export async function dateStatisticsByWeekUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseMapLocalDate>('/api/dateStatistics/dateStatistics', {
    method: 'GET',
    headers: {
      'JWT': localStorage.getItem('loginUser') || 'manba',
    },
    ...(options || {}),
  });
}

/** getCountStatistics GET /api/dateStatistics/invokeCountStatistics */
export async function getCountStatisticsUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseListUserInvokeCount>('/api/dateStatistics/invokeCountStatistics', {
    method: 'GET',
    headers: {
      'JWT': localStorage.getItem('loginUser') || 'manba',
    },
    ...(options || {}),
  });
}
